<?php if(!defined('HOST'))die('not access');?>
<script >
    $(document).ready(function(){

        var c = {

            sendorder:function (){

                js.ajax(js.getajaxurl('sendOrder','order','system'),{},function(s){

                    js.msg('success', s);

                },'post,text',false,'派单中...');
            }
        }
        js.initbtn(c);

    });



</script>


<div  click="sendorder" style="background-color: red; width: 150px;">工单派遣</div>